$(function() {
	$("#demoTable").inrad_liteGrid({
		columns: [
			{ field: "utils", header: "&nbsp;" },
			{ field: "name", editable: true, header: "Name", sortable: true },
			{ field: "price", editable: true, header: "Unit Price", sortable: true },
			{ field: "coating", editable: true, header: "Coating", sortable: true },
			{ field: "description", editable: true, header: "Description", sortable: true },
			{ field: "available", editable: true, header: "Available", type:"checkbox" }
		],
		dataProviderFactory: function() { return new WidgeDataProvider(); },
		modules: [new TreeGridModule(), new StripifyModule(), new JEditableModule(),
				  new ToolbarModule(), new BatchSaveModule(), new CheckboxValueModule(),
				  new FormatModule(), new BlockUIModule(), new RowAdditionModule(),
				  new RowDeleteModule(), new RowSortModule(), new DraggableRowsModule(),
				  new ValidateModule()],
		rowIdColumn: "id",
		validateRules: { name: "required", price: "number" },
		validateMessages: { name: "Please enter a name.", price: "Price must be a number." }
	});
});te